#ifndef TEXT_H
#define TEXT_H

#include "FontManager.h"

#include <string>
#include <d3d11.h>
#include <dxgi.h>
#include <D3DX10math.h>

class Text
{
public:
	Text();
	Text(const std::string& sentence);
	~Text();
	bool Initialise();

	void Translate(const D3DXVECTOR3& pos);
	void Draw();
	void Update(const std::string& sentence);

	void SetColour(const D3DXVECTOR4& col);

	bool Intersected(const D3DXVECTOR2& pos);

	void SetFont(const std::string& font);
private:
	std::string m_text;
	std::string m_font;

	//Font m_minecraftFont;
	D3DXVECTOR3 m_position;
	float m_spacing;
	D3DXVECTOR4 m_colour;
};

#endif //TEXT_H